PhoneGap Shell QR Codes
Description
Generate QR Codes for the UX Component name or Server Address for loading and testing Cordova applications in the PhoneGap-Shell-V2 (Cordova shell).
When testing an app using the PhoneGap-Shell-V2 template, both the UX Component name and the URL for Ajax callbacks are required in order to load and test the application. Both the component name and Ajax callback URL can be loaded using a QR Code generated using the PhoneGap Shell QR Codes menu option. Codes for a UX Component's name and URL for Ajax Callbacks for an application can be generated. These codes can then be scanned in the Cordova shell application for testing on a mobile device.
Generating a QR Code for a UX Component Name
On the Controls pane in the UX Builder, open the Show additional options menu and select PhoneGap Shell QR Codes... from the list of options.
When prompted, choose Component name.
Alpha Anywhere will generate a QR Code that contains the component's name. Scan the QR Code using the QR Code scanner in the Cordova Shell app installed on a mobile device. Close the UX Component Name QR Code dialog when you are finished.
Generating a QR Code for a Server Address
On the Controls pane in the UX Builder, open the Show additional options menu and select PhoneGap Shell QR Codes... from the list of options.
When prompted, choose Server Address from the popup menu.
If generating a QR Code for a Server Address, enter the URL and a short description of the URL in the URL for Ajax Callbacks dialog. The URL is the URL to the server where the published application resides. For example:
https://www.myapp.com/folderWhereAppWasPublished/
Click OK to generate the QR Code. Scan the QR Code using the QR Code scanner in the Cordova Shell app installed on a mobile device.
See Also